<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:20px;padding:10px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
#export_links{$id} * {}
</style>
{END style_block}
{BEGIN iestyle_block}
<!--[if IE]>
<style>
.grid {height:100%;}
</style>
<![endif]-->
{END iestyle_block}
</head>
<body marginheight=0 marginwidth=0 {$bodyattrs}>
{BEGIN body}
{$header}
<div id="height100{$id}">
{BEGIN mastertable_block}
    <div id="mastertable_block{$id}">
    {$showmasterfile}
	<a {$backtomasterlink_attrs} class="toplinks"><b>
	<span class=buttonborder><input class=button type=button value="Voltar à Lista" {$backbutton_attrs} onClick="history.go(-1)"></span>

    </a>
    
    
	<br>
    </div>
{END mastertable_block}

{BEGIN toplinks_block}
<div id="toplinks_block{$id}">
<h2><b>Dados&nbsp;de&nbsp;Regimento</b></h2>










</div>
{END toplinks_block}

{BEGIN search_records_block} 
<div id="recordcontrolsadd_block{$id}" class="shade">
	<span id="search_records_block{$id}" class="shade">
	
		{BEGIN details_block}
		<span  {$details_attrs}>Ítens Encontrados: <b>{$records_found}</b>&nbsp;&nbsp;&nbsp;&nbsp;</span>
	{END details_block}

	{BEGIN pages_block}
		<span {$pages_attrs}>Página <b>{$page}</b> de <b>{$maxpages}</b></span>
	{END pages_block}

		&nbsp;&nbsp;&nbsp;&nbsp;
	{BEGIN recordspp_block}	<!-- class="center_block" -->
			{$recsPerPage}
	{END recordspp_block}
	</span>
</div>
{END search_records_block} 


<!-- search panel and window -->
<div id="searchPanelContainer{$id}" class="searchPanelContainer">
{$adv_search_panel}
</div>

<div moveForSearch="move{$id}" {$marginStyle}>

{BEGIN recordcontrols_block}
<div id="record_controls{$id}">    {BEGIN newrecord_controls}
    <span id="newrecord_controls{$id}"> 
        {BEGIN inlineadd_link}
<span class=buttonborder>
<input type=button class="button" value="Adicionar Novo" {$inlineaddlink_attrs} >
</span>
{END inlineadd_link}
 </span>
    {END newrecord_controls}
{$lookupSearchControls}
{BEGIN record_controls}
<span id="record_controls{$id}2"> 
                {BEGIN editselected_link}
<span class=buttonborder {$editselectedlink_span}>
<input type=button class="button" value="Editar selecionado" {$editselectedlink_attrs}>
</span>
{END editselected_link}
{BEGIN saveall_link}
<span class=buttonborder {$savealllink_span}>
<input type=button class="button" value="Salvar todos" {$savealllink_attrs}>
</span>
{END saveall_link}
{BEGIN cancelall_link}
<span class=buttonborder {$cancelalllink_span}>
<input type=button class="button" value="Cancelar Edição" {$cancelalllink_attrs}>
</span>
{END cancelall_link}

        {BEGIN deleteselected_link}
<span class=buttonborder {$deleteselectedlink_span}>
<input type=button class="button" value="Elimina Selecionados" {$deleteselectedlink_attrs}>
</span>
{END deleteselected_link}

        
         </span>
{END record_controls}
</div>
{END recordcontrols_block}
<div class="message" id="usermessage{$id}">{$user_message}</div>


{BEGIN grid_block}


<table name="maintable" class="display" cellspacing=2 cellpadding=3 border=0 id="grid_block{$id}">
{BEGIN grid_header}
<thead>
<tr valign="top" {$gridHeader_attrs}>
{BEGIN record_header}

{BEGIN listIcons_column}
	<th align="center" class="blackshade" {$widthListIcons} iEditCont="all" nowrap="nowrap">&nbsp;</th>
{END listIcons_column}

{BEGIN checkbox_column}
<th width="20" class="blackshade" align="left">
{BEGIN checkbox_header}
<input type="checkbox" {$checkboxheader_attrs}>
{END checkbox_header}
</th>
{END checkbox_column}


{BEGIN numero_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN numero_fieldheader}
<a class="defblackshade" {$numero_orderlinkattrs}>Numero Sequencial</a>
{END numero_fieldheader}
&nbsp;
</th>
{END numero_fieldheadercolumn}
{BEGIN data_aprovacao_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN data_aprovacao_fieldheader}
<a class="defblackshade" {$data_aprovacao_orderlinkattrs}>Data de Reunião de Aprovação</a>
{END data_aprovacao_fieldheader}
&nbsp;
</th>
{END data_aprovacao_fieldheadercolumn}
{BEGIN anexo_regimento_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN anexo_regimento_fieldheader}
<a class="defblackshade" {$anexo_regimento_orderlinkattrs}>Arquivo do Regimento</a>
{END anexo_regimento_fieldheader}
&nbsp;
</th>
{END anexo_regimento_fieldheadercolumn}
{BEGIN situacao_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN situacao_fieldheader}
<a class="defblackshade" {$situacao_orderlinkattrs}>Status</a>
{END situacao_fieldheader}
&nbsp;
</th>
{END situacao_fieldheadercolumn}
{BEGIN data_cadastramento_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN data_cadastramento_fieldheader}
<a class="defblackshade" {$data_cadastramento_orderlinkattrs}>Data de Cadastramento/ CPF</a>
{END data_cadastramento_fieldheader}
&nbsp;
</th>
{END data_cadastramento_fieldheadercolumn}
{BEGIN usuario_cadastro_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN usuario_cadastro_fieldheader}
<a class="defblackshade" {$usuario_cadastro_orderlinkattrs}>Usuario Cadastro</a>
{END usuario_cadastro_fieldheader}
&nbsp;
</th>
{END usuario_cadastro_fieldheadercolumn}
{BEGIN data_atualizacao_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN data_atualizacao_fieldheader}
<a class="defblackshade" {$data_atualizacao_orderlinkattrs}>Data Última Atualização/ CPF</a>
{END data_atualizacao_fieldheader}
&nbsp;
</th>
{END data_atualizacao_fieldheadercolumn}
{BEGIN usuario_atualizacao_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN usuario_atualizacao_fieldheader}
<a class="defblackshade" {$usuario_atualizacao_orderlinkattrs}>Usuario Atualizacao</a>
{END usuario_atualizacao_fieldheader}
&nbsp;
</th>
{END usuario_atualizacao_fieldheadercolumn}
{BEGIN endrecordheader_block}
<th>&nbsp;</th>
{END endrecordheader_block}

{END record_header}
</tr>
</thead>
{END grid_header}

<tbody>
{BEGIN grid_row}
<tr valign="top" {$rowstyle} {$rowattrs}> 
{BEGIN grid_record}

{BEGIN listIcons_column}
	<td align="left" class="listIcons" iEditCont="all" valign="middle" nowrap="nowrap">
	
		{BEGIN inlineedit_column}
	{BEGIN inlineedit_link}
	<a {$inlineeditlink_attrs} title="Editar" rel="Editar" class="tooltip"><img class="listIcon" src="images/icon_inline_edit_new.gif" align="middle"  alt="Editar" border="0"></a>
	{END inlineedit_link}
	{END inlineedit_column}

	
		</td>
{END listIcons_column}	

{BEGIN checkbox_column}
<td align="left" valign="middle" width="20" >
{BEGIN checkbox}
<input type="checkbox" {$checkbox_attrs}>
{END checkbox}
</td>
{END checkbox_column}


{BEGIN numero_fieldcolumn}
<td valign="middle" {$numero_style}>
{$numero_value}
</td>
{END numero_fieldcolumn}
{BEGIN data_aprovacao_fieldcolumn}
<td valign="middle" {$data_aprovacao_style}>
{$data_aprovacao_value}
</td>
{END data_aprovacao_fieldcolumn}
{BEGIN anexo_regimento_fieldcolumn}
<td valign="middle" {$anexo_regimento_style}>
{$anexo_regimento_value}
</td>
{END anexo_regimento_fieldcolumn}
{BEGIN situacao_fieldcolumn}
<td valign="middle" {$situacao_style}>
{$situacao_value}
</td>
{END situacao_fieldcolumn}
{BEGIN data_cadastramento_fieldcolumn}
<td valign="middle" {$data_cadastramento_style}>
{$data_cadastramento_value}
</td>
{END data_cadastramento_fieldcolumn}
{BEGIN usuario_cadastro_fieldcolumn}
<td valign="middle" {$usuario_cadastro_style}>
{$usuario_cadastro_value}
</td>
{END usuario_cadastro_fieldcolumn}
{BEGIN data_atualizacao_fieldcolumn}
<td valign="middle" {$data_atualizacao_style}>
{$data_atualizacao_value}
</td>
{END data_atualizacao_fieldcolumn}
{BEGIN usuario_atualizacao_fieldcolumn}
<td valign="middle" {$usuario_atualizacao_style}>
{$usuario_atualizacao_value}
</td>
{END usuario_atualizacao_fieldcolumn}

{BEGIN endrecord_block}
<td class="body2" {$endrecordblock_attrs}>&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
</tbody>

</table>

{END grid_block}



{BEGIN pagination_block}
<div id="pagination_block{$id}" align="center" class="toplist" >{$pagination}</div>
{END pagination_block}

{BEGIN message_block}
<div id="message_block{$id}" align=center valign=middle class=toplist><b>{$message}</b></div>
{END message_block}

</div>
{END body}
{$footer}

